package cn.huyanbing.visual.spring.research.agent;

/**
 * @BelongProject middleware
 * @BelongPackage cn.huyanbing.visual.agent
 * @Description
 *
 * https://www.jianshu.com/p/3bbfa22ec7f5
 *
 * -javaagent:/Users/huyangbing/Documents/workspace/workspace2024/open-source/02/middleware/agent/target/my-agent.jar=first
 * -javaagent:/Users/huyangbing/Documents/workspace/workspace2024/open-source/02/middleware/agent/target/my-agent.jar=second
 *
 * @ClassName AgentTest
 * @Author huyangbing
 * @Date 2025/2/8 16:22
 * @Version 1.0.0
 */
public class AgentTest {

    private void fun1() {
        System.out.println("this is fun 1.");
    }

    private void fun2() {
        System.out.println("this is fun 2.");
    }

    public static void main(String[] args) {
        AgentTest test = new AgentTest();
        test.fun1();
        test.fun2();
    }
}
